home *** CD-ROM | disk | FTP | other *** search
/ Merciful 1 / Merciful - Disc 1.iso / software / s / sas_utilities / sasutilities04.dms / in.adf / PlusEditior / install / English < prev   
Encoding:
Text File  |  1992-12-21  |  1.9 KB  |  110 lines

  1. ; $VER: Install PlusEd 2.00 (10.5.92)
  2. ; Script for Installer to install PlusEd.
  3.  
  4. (set reqtoolslib "/ReqTools/libs20/reqtools.library")
  5. (set catalogdir "/Locale/Catalogs/")
  6. (set docdir "/Docs/")
  7. (set fontsdir "/Fonts/")
  8.  
  9.     (complete 0)
  10.     (welcome)
  11.  
  12. ; Ask for the main directory
  13.  
  14.     (set PlusEd_dest "ram:PlusEd")
  15.     (set PlusEd_dest
  16.         (askdir
  17.             (prompt    "Please select the drawer where you want PlusEd to reside.")
  18.             (help @askdir-help)
  19.             (default PlusEd_dest)
  20.         )
  21.     )
  22.     (complete 10)
  23.  
  24. ; Install executables
  25.  
  26.     (copyfiles
  27.         (prompt "Please select the executables you want to install.")
  28.         (help @copyfiles-help)
  29.         (dest PlusEd_dest)
  30.         (source "/")
  31.         (choices "PlusEd" "PlusEd.030" "PlusEd.040")
  32.         (infos)
  33.         (confirm)
  34.     )
  35.     (complete 30)
  36.  
  37. ; Install documentation
  38.  
  39.     (copyfiles
  40.         (prompt "Please select the languages of the documentation you want to install.")
  41.         (help @copyfiles-help)
  42.         (dest PlusEd_dest)
  43.         (source docdir)
  44.         (choices "Deutsch" "English")
  45.         (infos)
  46.         (confirm)
  47.     )
  48.     (complete 50)
  49.  
  50. ; Install fonts
  51.  
  52.     (if
  53.         (askbool
  54.             (prompt "Do you want to install the IBM.font in fonts: ?")
  55.             (help @askbool_help)
  56.             (default 1)
  57.         )
  58.         (run
  59.             ("copy %s#? to fonts: all" (fontsdir))
  60.         )
  61.     )
  62.     (complete 60)
  63.  
  64. ; Install demos
  65.  
  66.     (if
  67.         (askbool
  68.             (prompt "Do you want to install the demo files ?")
  69.             (help @askbool_help)
  70.             (default 1)
  71.         )
  72.         (run
  73.             ("copy /Demos#? %s all" PlusEd_dest)
  74.         )
  75.     )
  76.     (complete 80)
  77.  
  78. ; Install ReqTools.library
  79.  
  80.     (if
  81.         (askbool
  82.             (prompt "Do you want to install the ReqTools.library 2.1d ?")
  83.             (help @askbool_help)
  84.             (default 1)
  85.         )
  86.         (copylib
  87.             (source reqtoolslib)
  88.             (dest "LIBS:")
  89.         )
  90.     )
  91.     (complete 90)
  92.  
  93. ; Install catalogs
  94.  
  95.     (copyfiles
  96.         (prompt "Please select the languages of the catalogs that you want to install.")
  97.         (help @copyfiles-help)
  98.         (dest "locale:catalogs/")
  99.         (source catalogdir)
  100.         (choices "Deutsch")
  101.         (infos)
  102.         (confirm)
  103.     )
  104.     (complete 100)
  105.  
  106. ; Cleanup
  107.  
  108.     (set @default_dest PlusEd_dest)
  109.     (exit)
  110.